var express = require('express');
var app = express();
var adminRouter = express.Router();
var admin = require('../controllers/admin.js');
var app = require('../controllers/app.js');

adminRouter.get('/admin/users',app.isLogin,app.permission,admin.getUsers);

adminRouter.post('/admin/disable',app.isLogin,app.permission,admin.disableUsers);


module.exports = adminRouter;